i2c: mv_i2c.c: Remove CONFIG_HARD_I2C
authorStefan Roese <[email protected]>
Fri, 16 Sep 2016 13:07:50 +0000 (15:07 +0200)
committerHeiko Schocher <[email protected]>
Mon, 26 Sep 2016 08:41:03 +0000 (10:41 +0200)
CONFIG_HARD_I2C is not needed, lets remove it.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Wilson Ding <[email protected]>
Cc: Victor Gu <[email protected]>
Cc: Hua Jing <[email protected]>
Cc: Terry Zhou <[email protected]>
Cc: Hanna Hawa <[email protected]>
Cc: Haim Boot <[email protected]>
Cc: Heiko Schocher <[email protected]>
drivers/i2c/mv_i2c.c

index 0877c51c6cb4e946d55c7a8d6080148a80877fe0..36482d5af3a35a113676a6554fa3e5601ca95c95 100644 (file)
@@ -20,7 +20,6 @@
 #include <common.h>
 #include <asm/io.h>
 
-#ifdef CONFIG_HARD_I2C
 #include <i2c.h>
 #include "mv_i2c.h"
 
@@ -468,4 +467,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)
 
        return 0;
 }
-#endif /* CONFIG_HARD_I2C */